package com.mvp.shq.washer.ui.shop.comment;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;
import com.mvp.shq.washer.entity.shop.CommentEntity;
import com.mvp.shq.washer.entity.shop.CommentResponse;

import java.util.List;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2017/10/12.
 */

public interface CommentConstract {
    interface Model extends BaseModel {
        Observable<BaseResult<String>> comment(String token, List<CommentEntity> list);
    }
    interface View extends BaseView {
        void commentS();
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void comment(CommentResponse response);
    }
}
